//
//  DataModel.h
//  DebugDemo
//
//  Created by XFB on 2019/1/7.
//  Copyright © 2019年 ZhouCheng. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SuccessBlock)(NSDictionary *dict);
typedef void(^FailureBlock)(NSDictionary *dict);

@interface DataModel : NSObject

/**
 获得数据,成功失败

 @param success 成功
 @param failure 失败
 */
- (void)getDataSuccess:(SuccessBlock)success
               failure:(FailureBlock)failure;

@end

NS_ASSUME_NONNULL_END
